/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using QuocTeViet.DAL;
using QuocTeViet.DO;
/// <summary>
/// Summary description for cmsGioHangBL
/// </summary>
namespace QuocTeViet.BL 
{
    public class cmsGioHangBL 
    {
    	#region Private Variables
		cmsGioHangDAL objcmsGioHangDAL;
		#endregion
		
        #region Public Constructors
        public cmsGioHangBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objcmsGioHangDAL=new cmsGioHangDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(cmsGioHangDO objcmsGioHangDO)
        {
            return objcmsGioHangDAL.Insert(objcmsGioHangDO);
        }

        public int Update(cmsGioHangDO objcmsGioHangDO)
        {
             return objcmsGioHangDAL.Update(objcmsGioHangDO);

        }

        public int Delete(cmsGioHangDO objcmsGioHangDO)
        {
            return objcmsGioHangDAL.Delete(objcmsGioHangDO);

        }

        public int DeleteBySessionID(string id)
        {
            return objcmsGioHangDAL.DeleteBySessionID(id);

        }

         public int DeleteAll()
        {
             return objcmsGioHangDAL.DeleteAll();
        }

        public cmsGioHangDO Select(cmsGioHangDO objcmsGioHangDO)
        {
            return objcmsGioHangDAL.Select(objcmsGioHangDO);
        }

        public ArrayList SelectAll1( )
        {
         return objcmsGioHangDAL.SelectAll1();
        }

        public DataTable SelectAll()
        {
            return objcmsGioHangDAL.SelectAll();
        }

        public DataTable SelectBySession(string sessiion,int xl)
        {
            return objcmsGioHangDAL.SelectBySessionID(sessiion,xl);
        }


     
#endregion          
    
    }

}
